include(cc_binary)

cc_binary(
  NAME 
    spawn_worker
  HDRS
    spawn_worker_server.h
  SRCS
    spawn_worker_server.cpp
    spawn_worker_server_process.cpp
  DEPS
    :models
    :model
    :distributed_runtime
    absl::strings
    xllm_kernels
    ascendcl
    nnopbase
    atb
    c_sec
    spdlog::spdlog
)

add_dependencies(export_module spawn_worker)
